import request from '@/utils/request'
import { M, C } from '@/api/apiPrefix'
// 查询调度日志列表
export function listJobLog(query) {
    return request({
        url: `/${M.monitor}/${C.jobLog}/list`,
        method: 'get',
        params: query
    })
}

// 删除调度日志
export function delJobLog(jobLogId) {
    return request({
        url: `/${M.monitor}/${C.jobLog}/${jobLogId}`,
        method: 'delete'
    })
}

// 清空调度日志
export function cleanJobLog() {
    return request({
        url: `/${M.monitor}/${C.jobLog}/clean`,
        method: 'delete'
    })
}
